package com.ddone.finance;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author ddone
 * @date 2024/4/10-23:40
 */
@SpringBootApplication
@MapperScan(basePackages = "com.ddone.finance.mapper")
@ComponentScan(basePackages = {"com.ddone.finance","com.ddone.base"})
@EnableTransactionManagement
public class FinanceLoanApplication {
    public static void main(String[] args) {
        SpringApplication.run(FinanceLoanApplication.class, args);

    }
}
